<? if(!defined('IN_FANWE')) exit('Access Denied'); if($_FANWE['uid'] > 0) { ?>

<div class="sysmenu">
<ul id="sysmenus">
<li>
<a href="<?php echo FU('u/album',array()); ?>" class="topusername foatleft"><img src="<?php echo avatar($_FANWE['uid'],'s',1);?>"><span><?=$_FANWE['user_name']?></span></a>
            <div class="clear"></div>
<div class="topdmenu dmenu_location dmenuhide" id="topdmenu1">
<p class="fz12">
                	<a href="<?php echo FU('u/album',array()); ?>">common/album</a>
<a href="<?php echo FU('u/talk',array("uid"=>$_FANWE['uid'])); ?>">我的分享</a>
<a href="<?php echo FU('u/fav',array("uid"=>$_FANWE['uid'])); ?>">我的喜欢</a>
</p>
<p class="fz12">
<a href="<?php echo FU('u/follow',array("uid"=>$_FANWE['uid'])); ?>">我的关注</a>
<a href="<?php echo FU('u/fans',array("uid"=>$_FANWE['uid'])); ?>">我的粉丝</a>
<a href="<?php echo FU('invite',array()); ?>">邀请好友 </a>
</p>
<p class="notline fz12">
<a href="<?php echo FU('settings/personal',array()); ?>">设置</a>
<a href="<?php echo FU('user/logout',array()); ?>">退出</a>
</p>
</div>
</li>
<li class="zindex">
<a href="javascript:void(0)" class="topothermenu" id="tips_all"><span>消息</span></a>
            <div class="clear"></div>
<div class="topdmenu dmenu_location dmenu_with dmenuhide">
<!--<a href="/notification" id="tips_sys">系统消息</a>-->
<a href="<?php echo FU('u/message',array("uid"=>$_FANWE['uid'])); ?>" id="tips_prv" class="fz12">私信</a>
</div>
</li>
<li>
<a href="javascript:void(0)" class="topothermenu"><span>关于</span></a>
            <div class="clear"></div>
<div class="topdmenu dmenu_location2 dmenu_with dmenuhide">
<a href="<?php echo FU('u/talk',array("uid"=>$_FANWE['uid'])); ?>" class="fz12">我发表的</a>
                <a href="<?php echo FU('collection/index',array()); ?>" class="fz12">采集工具</a>
                <!--
<a href="<?php echo FU('u/comments',array("uid"=>$_FANWE['uid'])); ?>" class="fz12">评论我的</a>
<a href="<?php echo FU('u/atme',array("uid"=>$_FANWE['uid'])); ?>" class="fz12">提到我的</a>
<a href="<?php echo FU('u/atme',array("uid"=>$_FANWE['uid'],"type"=>"faved")); ?>" class="fz12">喜欢我的</a>
                -->
</div>
</li>
</ul>
</div>
<? } else { ?>
<div class="sysmenu">
<ul id="sysmenus">
<li><a href="<?php echo FU('user/login',array()); ?>" class="regmenu">login</a></li>
<li><a href="<?php echo FU('user/register',array()); ?>" class="regmenu">register</a></li>
<li>
            <a href="javascript:void(0)" class="topothermenu"><span>更多</span></a>
            <div class="clear"></div>
<div class="topdmenu dmenu_location2 dmenu_with dmenuhide" style="display: none; ">
            	<img class="f_login" src="./tpl/images/icon_sina.png"><a href="<?=$_FANWE['site_root']?>login.php?mod=sina">signsina</a>
<img class="f_login" src="./tpl/images/icon_qq_qq.png"><a href="<?=$_FANWE['site_root']?>login.php?mod=qq">signqq</a>
                <img class="f_login" src="./tpl/images/tao.png"><a href="<?=$_FANWE['site_root']?>login.php?mod=taobao">signtaobao</a>
                <img class="f_login" src="./tpl/images/icon_qq.png"><a href="<?=$_FANWE['site_root']?>login.php?mod=tqq">signtqq</a>
</div>
</li>
</ul>
</div>
<? } ?>
